package com.zmj.sy.mom.srv.aps.bean.vo.report;


import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class ReportProductionOrderResVo {

    private Integer id;

    @ApiModelProperty("订单/分段")
    private String serialCode;

    @ApiModelProperty("客户")
    private String customerName;

    @ApiModelProperty("工作包")
    private String pkgCode;

    @ApiModelProperty("图号")
    private String drawing;

    @ApiModelProperty("零件编号")
    private String plmId;

    @ApiModelProperty("产品编号")
    private String productCode;

    @ApiModelProperty("零件名称")
    private String materName;

    @ApiModelProperty("规格")
    private String spec;

    @ApiModelProperty("替换规格")
    private String replaceTexture;

    @ApiModelProperty("厚度(mm)")
    private BigDecimal thickness;

    @ApiModelProperty("长度(mm)")
    private BigDecimal length;

    @ApiModelProperty("宽度(mm)")
    private BigDecimal width;

    @ApiModelProperty("重量(kg)")
    private BigDecimal height;

    @ApiModelProperty("计划开始时间")
    private LocalDateTime planStartDateTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime planEndDateTime;

    @ApiModelProperty("剩余")
    private BigDecimal remainingCount;

    @ApiModelProperty("已下订单")
    private BigDecimal orderCount;

//    @ApiModelProperty("不合格")
//    private BigDecimal errorCount;

//    @ApiModelProperty(value = "完成数量", hidden = true)
//    private BigDecimal finishCount;

    @ApiModelProperty("已套料")
    private BigDecimal nestCount;

    @ApiModelProperty("直接父级")
    private String parentPlmId;

    private String filePath;

    @ApiModelProperty("制图就绪 1未就绪 2就绪")
    private Integer drawingReady;

    @ApiModelProperty("工作组")
    private String groupCode;

    @ApiModelProperty("面积")
    private BigDecimal area;

    @ApiModelProperty("工序链")
    private String workChain;

    @ApiModelProperty("零件计划号")
    private String nestPlanId;

    @ApiModelProperty("零件地址")
    private String pngUrl;

    @ApiModelProperty("套料软件 1 海克斯康 2 兰特克")
    private String pushType;

    @ApiModelProperty("完成情况 0 未完成 1 已完成")
    private Integer nestStatus;

//    awd.aps_work_order_id id, o.serial_code serialCode,
//    o.customer_name customerName, spp.processing_no pkgCode,
//    spp.part_id plmId, spp.part_name materName, spd.texture spec,
//    spd.thick_ness thickness, op.length length, op.width width,
//    spp.plan_amount orderCount, spp.plan_finish_amount nestCount , spd.file_path, filePath
//    spp.need_date planStartDateTime, spp.component_id parentMaterCode, spp.product_id productCode
//    @ApiModelProperty("项目号")
//    @ApiModelProperty("工艺路径")
//    @ApiModelProperty("制图就绪")
//    @ApiModelProperty("挂起 ※作用：已完成套料，并开始生产了，但是发现问题需要更改套料图或其他问题时，会设置成挂起")
//    @ApiModelProperty("挂起信息 ※包括：更改套料图、板不合格、其他")
//    @ApiModelProperty("旋转")
//    @ApiModelProperty("版本编号")
//    @ApiModelProperty("交货期")
//    @ApiModelProperty("工艺组")
}
